<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>无访问权限</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<style>
			.content {
				width: 613px;
				height: 283px;
				margin:100px auto;
			}
			
			.content img {
				display: block;
				width: 100%;
			}
			.content p{
				font-size: 14px;
				margin-top:-50px;
			}
			.content p a,.content p span{
				color:red;
			}
		</style>
	</head>
	<body>
		<div class="content">
			<img src="assets/img/nopower.jpg" />
			<p><span id="time"></span>秒后自动返回到上一页面
				<a href="window.history.go(-1)">手动返回 >></a>
			</p>
		</div>
		<script type="text/javascript" src="assets/js/jquery-2.1.0.js"></script>
		<script>
			var i = 5;
			var intervalid;
			intervalid = setInterval("count()", 1000);
			
			function count() {
				if(i == 0) {
					history.go(-1);
					clearInterval(intervalid);
				}
				$("#time").text(i);
				i--;
			}
		</script>
	</body>
</html>
